package com.cscp.javastudy.designpattern.factory.method;


public class Consumer {

    public static void main(String[] args) {
        Car wuling = new WulingFactory().getCar();
        wuling.name();
        Car mobai = new MobaiFactory().getCar();
        mobai.name();
    }

}
